package com.thewaybetter.modules.client.services;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.thewaybetter.modules.client.model.SlimIdea;

public interface IdeaServiceAsync {
	void save(SlimIdea i, AsyncCallback<SlimIdea> callback);
	void getAll(AsyncCallback<List<SlimIdea>> callback);
	void getNew(Date now, AsyncCallback<List<SlimIdea>> callback);
	void clearAll(AsyncCallback<String> callback);
}
